package com.turtle3d.formallanguage.symbol;

import java.util.ArrayList;

/**
 * A class for calculating parameters.
 * 
 * @author Marek Paterczyk <marek.paterczyk@gmail.com>
 *
 */
public interface Method
{
	/**
	 * 
	 * @param symbolSequence symbol sequence from last iteration
	 * @param symbolIndex index of non-terminal symbol 
	 * @param calculatedSymbol 
	 * @return
	 */
	public boolean calculate(ArrayList<Symbol> symbolSequence, int symbolIndex, Symbol calculatedSymbol);	
}
